#include "srkrt_struct.h"
#include "srkrtDynamicList.h"

void test_list_chainee(void) {
	List list;
	Move action;
	int i;
	
	
	
	/* creation de la liste */
	list_create(&list);
	printf("Remplissage chainee\n");
	/* on remplit la liste */
	for ( i = 0 ; i < 1000000 ; i++ ) {
		action.xi = i;
		action.yi = i;
		action.xf = i;
		action.yf = i;
		
		list_add(&list, action);
	}
	
	printf("fin chainee\n");
	list_remove(&list);
	printf("free\n");
	/*printf("%f\n", stamp);*/
}

int main(void) {
	test_list_chainee();
	return(0);
}
		
		